﻿Element.prototype.Contains = function Contains(child)
{
	while (child != null && child != this)
		child = child.parentNode;
	return (child == this);
}
